
using System;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities.Auditing;
using JYJ.AiYard.StationManagement.TbYardDevices;

namespace  JYJ.AiYard.StationManagement.TbYardDevices.Dtos
{
    public class Tb_YardDeviceEditDto
    {

        /// <summary>
        /// Id
        /// </summary>
        public long? Id { get; set; }



        /// <summary>
        /// 场所编号
        /// </summary>
       [Required(ErrorMessage="场所编号不能为空")]
        public long Station_ID { get; set; }



		/// <summary>
		/// 设备机号
		/// </summary>
		[Required(ErrorMessage="设备机号不能为空")]
		public int TDev_No { get; set; }



		/// <summary>
		/// 设备类型
		/// </summary>
		[MaxLength(50, ErrorMessage="设备类型超出最大长度")]
		[MinLength(1, ErrorMessage="设备类型小于最小长度")]
		[Required(ErrorMessage="设备类型不能为空")]
		public string TDev_Type { get; set; }



		/// <summary>
		/// 设备名称
		/// </summary>
		[MaxLength(50, ErrorMessage="设备名称超出最大长度")]
		[MinLength(1, ErrorMessage="设备名称小于最小长度")]
		[Required(ErrorMessage="设备名称不能为空")]
		public string TDev_Name { get; set; }



		/// <summary>
		/// IP地址
		/// </summary>
		public string TDev_IP { get; set; }



		/// <summary>
		/// 端口号
		/// </summary>
		public int TDev_Port { get; set; }



		/// <summary>
		/// 显示屏行数
		/// </summary>
		public int TDev_Line { get; set; }



		/// <summary>
		/// 显示屏宽
		/// </summary>
		public int TDev_Width { get; set; }



		/// <summary>
		/// 显示屏高
		/// </summary>
		public int TDev_Height { get; set; }




    }
}